home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 147 / Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z / Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin / tools / ivl / src / clinearg.mak < prev    next >
Text File  |  2000-04-08  |  743b  |  29 lines

  1. #    Makefile for 'clinearg.o'.
  2. #
  3. #    by d'm.    from Mar.21,2000.
  4.  
  5. CC    = gcc.x
  6.  
  7. #if    defined(DEBUG)
  8. GCCOPT    = -DDEBUG -g -fno-inline-functions -fstack-check 
  9. #else    /* defined(DEBUG) */
  10. GCCOPT    = -finline-functions -fstrength-reduce -fforce-mem -fforce-addr
  11. #endif    /* defined(DEBUG) */
  12.  
  13. ULDIR    = .
  14. USERLIB    = $(ULDIR)\\dummyc.a $(ULDIR)\\hufilec.a
  15.  
  16. CCOPT    = -O $(GCCOPT) -I$(ULDIR) -Wall
  17.  
  18. # make rule.
  19. clinearg.o:    clinearg.c clinearg.h
  20.     $(CC) -o$@ -c $(CCOPT) -UINDIRECT_ARG_ALLOCATE $<
  21.  
  22. clargmes.o:    clinearg.c clinearg.h
  23.     $(CC) -o$@ -c $(CCOPT) -DINDIRECT_MES_PRINT -UINDIRECT_ARG_ALLOCATE $<
  24.  
  25. clinearg.x:    clinearg.c clinearg.h
  26.     $(CC) -o$@ $(CCOPT) -DTEST_MAIN_DEFINE -UINDIRECT_ARG_ALLOCATE $< $(USERLIB)
  27. #
  28. #[end of makefile.]
  29.